import { LayoutComponent } from '../layout/layout.component';

export const routes = [
    {
        path: '',
        component: LayoutComponent,
        children: [
            { path: '', redirectTo: 'basicSetting/cp', pathMatch: 'full' },
            { path: 'systemMgmt', loadChildren: './system-management/system-management.module#SystemManagementModule' },
            { path: 'basicSetting', loadChildren: './basicSetting/basic-setting.module#BasicSettingModule' },
        ]
    },{
        path: 'pages', 
        loadChildren: './pages/pages.module#PagesModule' 
    },{
        path: '**',
        redirectTo: ''
    }
];


